﻿using System.ComponentModel.DataAnnotations;

namespace SmartProduction.Read.API.Dto
{
    public class STaskGetDto
    {
        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialInfoName { get; set; }
        /// <summary>
        /// 工艺名称
        /// </summary>
        public string ProcessName { get; set; }
        /// <summary>
        /// 物料选择
        /// </summary>
        public string MaterialName { get; set; }
        public int Tid { get; set; }
        /// <summary>
        /// 任务编码
        /// </summary>
        [StringLength(50)]
        public string TaskNode { get; set; }
        /// <summary>
        /// 任务mc
        /// </summary>
        [StringLength(50)]
        public string TaskName { get; set; }
        /// <summary>
        /// 任务类型
        /// </summary>
        [StringLength(50)]
        public string TaskType { get; set; }
        /// <summary>
        /// 任务状态
        /// </summary>
        public string TaskStatus { get; set; }
        /// <summary>
        /// 物料
        /// </summary>
        public int MaterialServerId { get; set; }

        /// <summary>
        /// 物料规格
        /// </summary>
        [StringLength(50)]
        public string Specification { get; set; }
        /// <summary>
        /// 物料单位
        /// </summary>
        [StringLength(50)]
        public string Unit { get; set; }
        /// <summary>
        /// 生产数量
        /// </summary>
        public int Num { get; set; }
        /// <summary>
        /// 开工时间
        /// </summary>
        public DateTime StartTime { get; set; }
        /// <summary>
        /// 完工时间
        /// </summary>
        public DateTime CompletionTime { get; set; }
        /// <summary>
        /// 物料清单
        /// </summary>
        public int MaterialListId { get; set; }
        /// <summary>
        /// 物料清单版本
        /// </summary>
        [StringLength(50)]
        public string Version { get; set; }

        /// <summary>
        /// 数据状态
        /// </summary>
        [StringLength(50)]
        public string DataStatus { get; set; }
        /// <summary>
        /// 工艺路线主键
        /// </summary>
        public int Processid { get; set; }
        /// <summary>
        /// 工艺版本
        /// </summary>
        public string ProcessVer { get; set; }
        /// <summary>
        ///  部门管理主键
        /// </summary>
        public int DepartId { get; set; }
    }
}
